package com.lehecai.core.lottery.fetcher.jcgyj.impl;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.lehecai.core.lottery.LotteryType;
import com.lehecai.core.lottery.fetcher.FetcherType;
import com.lehecai.core.lottery.fetcher.jcgyj.JcgjStaticInstantSpItem;
import com.lehecai.core.lottery.fetcher.jcgyj.impl.worker.JcgjStaticVirtualInstantSpFetchWorkerPengineAPI;

public class JcgjStaticVirtualInstantSPFetcher extends BaseJcgjStaticInstantSpFetcher {

	protected final Logger logger = LoggerFactory.getLogger(this.getClass().getName());
	
	/**
	 * 从engineAPI虚拟功能抓取竞彩冠军即时sp
	 * @param phase
	 * @param lotteryType
	 * @return
	 */

	@Override
	protected FetcherType getDefaultFetcherType() {
		return FetcherType.T_PENGINEAPI;
	}
	
	protected List<JcgjStaticInstantSpItem> fetchPengineAPI(String phase, LotteryType lotteryType){
		JcgjStaticVirtualInstantSpFetchWorkerPengineAPI worker = new JcgjStaticVirtualInstantSpFetchWorkerPengineAPI();
		return worker.fetch(phase,lotteryType);
	}

}
